package SpringBoot.自定义监听;

import org.springframework.boot.context.event.ApplicationStartedEvent;
import org.springframework.context.ApplicationListener;

import com.titan.core.utils.io.ConsoleUtils;

public class TestListener implements ApplicationListener<ApplicationStartedEvent> {

    @Override
    public void onApplicationEvent(ApplicationStartedEvent event) {
        ConsoleUtils.method(TestListener.class, "onApplicationEvent", "event", event.toString());
    }

}
